package com.codingfuture.glacierhardware.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codingfuture.glacierhardware.dto.HostDTO;
import com.codingfuture.glacierhardware.entity.Host;
import com.codingfuture.glacierhardware.vo.CompanyVO;
import com.codingfuture.glacierhardware.vo.WareHouseVO;

import java.util.List;

public interface HostService {
    Page<Host> getHost(String name, Page<Host> page);

    List<CompanyVO> getCompanyName();

    int addOrUpHost(HostDTO dto);

    List<WareHouseVO> getWarehouseName(Integer companyId);

    int delHost(Long id);
}
